package com.five.pojo.dto;

import lombok.Data;

@Data
public class PageInfo {
    private Integer page = 1;
    private Integer limit = 10;
    private Integer startIndex;

    public void setStartIndex(Integer page,Integer limit){
    	this.startIndex = (page-1)*limit;
    }
}
